html {
  position: relative;
  min-height: 100%;
}
body {
  /*font-family: "ProximaNova","Lucida Sans","Lucida Grande",sans-serif;*/
  font-family: 'Lato',sans-serif;
  /* Margin bottom by footer height */
  margin-bottom: 240px;
  background-color: #2c3e50;
}


h1,h2,h3,h4 {
  font-family: "PT Sans", sans-serif;
  font-weight: 600;
  /*color: #18bc9c;*/
  color: #2c3e50;
}

a{
    color:#18bc9c;
}

a:hover{
    color: #128f76;
}

a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active {
    border-color: #18bc9c;
}

.form-control:focus {
    box-shadow: none;
    border-color: #2c3e50;
    border-width: 2px;
}

.btn-default {
  background-color: #18bc9c;
  border-color: #18bc9c;
  color: #fff;
}
.btn-default:hover{
    background-color: #128f76;
    color: #fff;
}

.btn-primary {
    background-color: #95a5a6;
    border-color:  #95a5a6;
}
.btn-primary:hover{
    background-color: #798d8f;
    border-color: #798d8f;
}

.main {
    background-color: #fff;
}

/****************** Navbar ****************/

.navbar {
  margin-bottom: 0;
 /*border-bottom: 8px solid #18BC9C;*/
  
}

.navbar-inverse {
    background-color:#2c3e50;
}

.navbar-default {
    background-color: #fff;
}

.cloak-btn {
  display: none;
}

.navbar-brand {
  font-size: 28px;
  margin-right: 20px;
  padding: 15px 0 0;
  font-weight: bold;
}

.navbar-inverse .navbar-brand{
    color: #fff;
}

.navbar-inverse .navbar-nav > li > a {
    color: #aaa;
}


ul.navbar-right li {
  margin: 10px 5px 6px;
/*	color: #fff;*/
}

ul.navbar-nav .greeting {
  padding: 10px 0 15px;
}

/* login buttons */
/* Large desktop */
@media (min-width: 980px) {
  #login-dropdown-list {
   top: 25px;
  }
}
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { 
  #login-dropdown-list {
    left: -159px;
  }
}

#login-buttons {
    margin-top: 7px;
}

/*
#login-dropdown-list {
  top: 50px;
  min-width: 220px;
  margin: 0;
}
*/
/*
a#login-sign-in-link, #login-name-link {
/* color: #ffffff;
 text-decoration: none;
}

a.login-link-text{
    background-image: none;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    font-size: 19px;
    font-weight: normal;
    line-height: 1.42857;
    margin-bottom: 8px;
    margin-right: 5px;
    padding: 18px 27px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    

  /* background-color: #95A5A6;
    border-color: #95A5A6;
    color: #FFFFFF;
    
    border: 1px solid #fff;
}

#login-buttons .login-button, .accounts-dialog .login-button {
    background-color: #2C3E50;
    border: 1px solid #2C3E50;
    padding: 10px 15px;
    font-size: 15px;
}

#login-buttons .login-button:hover,.accounts-dialog .login-button:hover {
    background-color: #1E2A36;
    border: 1px solid #1E2A36;
}
*/

.navbar-static-top {
  width: 100%;
}

/* login bar */
.loginnav {
  background-color: black;
  position: absolute;
  background-color: transparent;
  height: 43px;
  width: 100%;
  top: 60px;
  opacity: 0.7;
}

/******************* jumbotron *********************/
.jumbotron {
    background-image: url("/images/blurred-water-waves.jpg");
    background-position: center 12%;
    background-attachment: fixed;
    color: #fff;
    padding-bottom: 98px;
    margin-bottom: 0;
    padding-top: 76px;
    min-height: 450px;
}

.jumbotron h1{
  font-size: 39px;
  font-weight: 600;
}
.jumbotron .intro {
  font-size: 0.9em;
  text-align: center;
}

.jumbotron .intro a.map {
  color: #FFF;
}
.jumbotron .intro a.map:hover {
  color: lightblue;
}

.jumbotron .btn {
    background-color: transparent; 
    border-color: #ffffff;
    margin-bottom: 8px;
    margin-right: 5px;
}

.jumbotron .btn:hover {
    background-color: #fff;
    /*color: #18bc9c;*/
    color: #2c3e50;
}


/* toastr notifications */
#toast-container { margin-top: 50px; }

/*how it works*/
.howitworks {
  padding-top: 28px;
  padding-bottom: 50px;
  text-align: center;
}


.circle {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  background-color: #fff;
  border: 2px solid #18bc9c;
  padding-top: 7px;
  margin-top: 30px;
}

.circle div {
    text-align:center;
    color:#18bc9c;
    font-size: 30px;
    font-weight: 600;
}

/* homepage - stats */
.stats {
    padding-top: 30px;
    padding-bottom: 60px;
    background-color: #18BC9C;
    color: #ffffff;
    line-height: 1em;
}

.stats h1{
    font-size: 8em;
    color: #fff;

}

.stats span{
  font-size: 2em;
  font-weight: normal;
}

.stat{
    text-align:center;
    font-weight: bold;
}

/* homepage - quotes */
.quotes{
  padding-top: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f3f3f3;
  background-color: #eee;
  
  
}

.quotes h2{
  text-align:center;
}

.quotes cite{
  font-size: 16px;
}

.quotes cite strong{
  color: #18BC9C;
}

/**** project list ****/
.projectlist-container {
    background-color: #F2F2F2;
    padding-top: 31px;
    margin-top: 21px;
}

.thumbnail {
   /* border: none;*/
}

/* masonry */
/* .grid-sizer { width: 20%; } */
.item { width: 220px; }
.item.w2 { width: 40%;}
/* center container with CSS */
#fit-width .masonry {
  margin: 0 auto;
}

/* meteor login buttons */
.thelogin {
  margin: 10px 0 0 10px; 
}
/*a#login-sign-in-link.login-link-text {
  padding: 4px;
  margin: 5px 5px 0 -25px;
}
*/

.visible-xs #login-buttons {
  margin-top: 10px;
}
.visible-xs #login-buttons .accounts-dialog {
  margin-left: -101%;
}

/* Common */
.addSpacingBottom {
    margin-bottom: 15px;
}
.heading.text-center { margin: 0; }


/* the ripple */

.waternews {
  background-color: #33a6c9;
  padding: 20px 0 20px;
  color: #fff;
}
.waternews h1{ color: #fff; font-weight:400;  }

.ripple { padding-top:20px; margin-bottom: 40px;}
.ripple .row { margin-bottom: 10px;}
.ripple .observation { }
.ripple .thumbnail {margin-bottom: 15px;}
.ripple .thumbnail img {width: 300px; height: 200px;}

/* in the news */
.news { background-color: #f9f9f9; padding: 40px 0 40px; }

.news h2 { color:  #18BC9C; margin-bottom: 20px;}

.news .row {}

.news-item { margin-bottom: 10px;}

.news-item img{ border: 5px solid #fff; box-shadow:0 0 0 1px rgba(0, 0, 0, 0.08); float: left; }

.news-metadata { min-height: 120px; margin-left: 180px;}

.news-item h4 { font-weight: 800; color:#444444; margin: 0 0 10px 0;}

.date { margin-bottom: 10px; }

/* Map related */


.ui-control {
  position:absolute;
  bottom:40px;
  left:10px;
  padding:5px 10px;
  background:rgba(0,0,0,0.5);
  color:#fff;
  border-radius:3px;
}


/* fix geocoderControl going from right to left */
div.leaflet-top.leaflet-left {
  top: 100px;
  right: 0;
}

/****************** map *****************/
#map {
  position: absolute;
  /*top: 115px;
  bottom: 0;*/
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

/************* project page ****************/

/* The small map on a project's page */
#projectmap { height: 250px; width:95%; margin: 0 auto;  }

/* water project page*/
.comment {
   background-color: #fff;
   border: 2px solid #ECF0F1;
}

.project-tags{

}

.tag-name {
  margin: 3px;
}

/* comments */

.comment-author h3{
    margin-top: 0;
}


/**************** tags list ***************/
div.excerpt {
  margin-bottom: 4px;
  color: grey;
}
.tag-cell {
 /* width: 230px;*/
  border-bottom: 1px dotted #E0E0E0;
  padding-bottom: 12px;
  padding-right: 6px;
  padding-top: 6px;
  vertical-align: top;
  min-height: 228px;
}
.tagbox {
  
}
.post-tag {
  color: #3e6d8e;
  background-color: #e0eaf1;
  border-bottom: 1px solid #b3cee1;
  border-right: 1px solid #b3cee1;
  padding: 3px 4px 3px 4px;
  margin: 2px 2px 2px 0;
  text-decoration: none;
  font-size: 90%;
  line-height: 1.4;
  white-space: nowrap;
  display: inline-block;
}

/************** sponsor **************/

#sponsors {
  padding-top: 60px;
  padding-bottom: 40px;
}

#sponsors h2 {}

#project {
	padding-top: 10px;
	padding-bottom: 30px;
}

/*************** footer ****************/

#footer {
  position:absolute;
  width: 100%;
  /* Set the fixed height of the footer here */
  min-height: 290px;
  background-color: #778089;
  color: #18BC9C;
  padding-top: 30px;
  margin-top: 0;
  padding-bottom: 80px;
  
}

#footer h3{ 
    color: #fff; 
}

#footer-bottom{
    position:absolute;
    background-color: #2C3E50;
    bottom: 0;
    height: 50px;
    width:100%;
    padding: 15px 0;
    text-align:left;
}

#footer .copyright{
  font-size: 15px;
}

#footer small {
  color: #fff;
}

#footer .img-circle {
  width: 30px;
  height: 30px;
  margin: 3px;
}

/* about page */
.tag {
  margin: 5px;
}
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
	#map {
		height: 100%;
		width: 100%;
	}
	#sponsors {
  padding-top: 10px;
  padding-bottom: 30px;
	}

}